

#import <Foundation/Foundation.h>

@interface NSString (Date)
- (NSString *)weekDayStr:(NSString *)format;//判断一个日期是星期几
- (NSInteger)weekDayInteger:(NSString *)format;//返回星期几数字
+ (NSString *)getDateTimeInterval:(NSTimeInterval)time Format:(NSString *)format isMS:(BOOL)ms;//ms为毫秒 format为格式yyyy-MM-dd 时间戳转时间
@end
